package net.borlis.sample.facade.common;

import net.borlis.annotations.version.Alpha;
import net.borlis.sample.services.api.*;

import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;

/**
 * Created by alexander.borlis on 19.08.2014.
 */
@RequestScoped
public class ServiceProvider {

    @Inject @Alpha
    private ILifecycleService lifecycleService;

    @Inject @Alpha
    private IProviderSettingsService providerSettingsService;

    @Inject @Alpha
    private IVitoService vitoService;

    @Inject @Alpha
    private IDynamixAccountService dynamixAccountService;

    @Inject @Alpha
    private IHistoryService historyService;

    public ServiceProvider() {
    }

    public ILifecycleService getLifecycleService() {
        return lifecycleService;
    }

    public IProviderSettingsService getProviderSettingsService() {
        return providerSettingsService;
    }

    public IVitoService getVitoService() {
        return vitoService;
    }

    public IDynamixAccountService getDynamixAccountService() {
        return dynamixAccountService;
    }

    public IHistoryService getHistoryService() {
        return historyService;
    }
}
